package com.myastro.opengles;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;

import com.myastro.HelperFunction;
import com.myastro.main.ListMainActivity;

public class NeHeLesson extends ListMainActivity {

	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		
		
	}
	
	@Override
	protected void onDestroy() {		
		super.onDestroy();
		
	}
	
	public void doUpdateList() {
		
		/* make the title text */
		makeTitle("OpenGL.ES.DEMO");
		
		addListItem("lesson02", "Polygon", GLRendererActivity.class, 		HelperFunction.REQUEST_NEHE_LESSON02);
		addListItem("lesson03", "Adding Color", GLRendererActivity.class, 	HelperFunction.REQUEST_NEHE_LESSON03);
		addListItem("lesson04", "Rotation", GLRendererActivity.class, 		HelperFunction.REQUEST_NEHE_LESSON04);
		addListItem("lesson05", "3D Shapes", GLRendererActivity.class, 		HelperFunction.REQUEST_NEHE_LESSON05);
		addListItem("lesson06", "Texture Mapping", GLRendererActivity.class,HelperFunction.REQUEST_NEHE_LESSON06);
		addListItem("lesson07", "Texture Filters, Lighting & Keyboard Control", GLRendererActivity.class, HelperFunction.REQUEST_NEHE_LESSON07);
		addListItem("lesson08", "Blending", GLRendererActivity.class, 		HelperFunction.REQUEST_NEHE_LESSON08);
		addListItem("lesson09~10", "Incoming...", null, 0);
	}
	
	public void onActivityResult(int requestCode, int resultCode, Intent data) {
		super.onActivityResult(requestCode, resultCode, data);
		// nothing...
		
		if (resultCode == Activity.RESULT_OK) {
			
		}
	}
	
	
	
}
